"bancquart.sebastien" <ban### [at] wanadoo fr> wrote:
> Thanks for your advices.
>
> By the way, I understood my error : cos and sin function work in radian, not
> in degrees.
> Modifying this in my script gives something much better, without any
> intersections.
Wrapping the sin() and cos() functions like degrees(cos(radians( foo )))
blew the sphere spheres so far out they became stars. :-)
I just figured out while loops though, maybe its beyond me for the moment.
Heres an animgif of my fixing attempt. (no intersections though!)
Post a reply to this message
Attachments:
Download 'sphereonchecker.gif' (80 KB)
Preview of image 'sphereonchecker.gif'
![sphereonchecker.gif](/povray.binaries.images/attachment/%3Cweb.422fa980547504b4e6ef12d50%40news.povray.org%3E/sphereonchecker.gif?preview=1)
|